package com.leps.nq.op.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备运维(保养)记录表
 * </p>
 *
 * @author hex
 * @since 2022-05-22
 */
@Getter
@Setter
@TableName("op_device_maintenance")
@ApiModel(value = "OpDeviceMaintenance对象", description = "设备运维(保养)记录表")
public class OpDeviceMaintenance implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备保养记录ID")
    @TableId(value = "maintenance_id", type = IdType.AUTO)
    private Long maintenanceId;

    @ApiModelProperty("设备ID")
    private Integer deviceId;

    @ApiModelProperty("泵设备编号")
    private String deviceNumber;

    @ApiModelProperty("泵设备类型 (电动注塞泵 / 气动泵)")
    private String deviceType;

    @ApiModelProperty("原安装位置")
    private String originalInstallPosition;

    @ApiModelProperty("安装时间")
    private Date originalInstallTime;

    @ApiModelProperty("调用后安装位置")
    private String newInstallPosition;

    @ApiModelProperty("调用时间")
    private Date newInstallTime;

    @ApiModelProperty("保养内容")
    private String maintenanceContent;

    @ApiModelProperty("保养时间")
    private Date maintenanceTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
